package com.qf.service;

import com.qf.entity.user.User;
import com.qf.param.LoginParam;
import com.qf.param.RegisterParam;
import com.qf.param.UserParam;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;

/**
 * --- 万物归集  不随你我 ---
 * <p>
 * 快捷短语
 * main ==  public static void main(String[] args);
 * sout ==  System.out.println();
 *
 * @author shuhan
 * @date 2025/6/9
 * @desc
 */
public interface UserService {

    String login(LoginParam loginParam);

    void register(RegisterParam registerParam);

    void update(User user);

    String updateAvatar(MultipartFile file);

    void updatePassword(UserParam userParam);

    void createCode(String phone);

    void logout(HttpServletRequest request);
}
